package com.peanut.boot.entiity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @className: com.peanut.boot.entiity-> Pet
 * @description: 宠物类
 * @author: chenhs
 * @createDate: 2021-09-20 22:59
 * @version: 1.0
 */
@ApiModel("宠物实体")
public class Pet {
    @ApiModelProperty("宠物名称")
     private  String name;

    public Pet(String name) {
        this.name = name;
    }

    public Pet() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "name='" + name + '\'' +
                '}';
    }
}
